home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr36 / mapl0301.zip / UPGRADEM.BAT < prev    next >
DOS Batch File  |  1993-04-13  |  2KB  |  74 lines

  1. @echo off
  2. cls
  3.  
  4.  
  5. echo     RBBS batch file to upgrade RBBS-PC 17.4
  6. echo     with Latest Maple mods
  7. echo .
  8. echo .
  9. echo     You may wish to edit the Bled commands to include the drive/Sudir
  10. echo     were the rbbs*.bas files are kept and were the merge files are located
  11. echo .
  12. echo     you can also create the *.MPL files as *.BAS files
  13. echo     but you must specify a subdir to put them in
  14. echo     DO NOT overwrite the ORIG source files
  15. Pause
  16.  
  17. if %1?==? goto Usage
  18.  
  19. :Start
  20.  
  21.  
  22.  
  23.  
  24. if not exist BLED.EXE goto NoBLED
  25.  
  26. rem Apply a  merge:  BLED[/B/L/M/RC]  {source} {merges} {new file} {warn file}
  27.  
  28. BLED /B/L rbbs-pc.bas m-pc%1.mrg Rbbs-pc.mpl Mpl-pc.WRN
  29. BLED /B/L rbbssub1.bas mbs1%1.mrg rbbssub1.mpl mpl1.WRN
  30. BLED /B/L rbbssub2.bas mbs2%1.mrg rbbssub2.mpl mpl2.WRN
  31. BLED /B/L rbbssub3.bas mbs3%1.mrg rbbssub3.mpl mpl3.WRN
  32. BLED /B/L rbbssub4.bas mbs4%1.mrg rbbssub4.mpl mpl4.WRN
  33. BLED /B/L rbbssub5.bas mbs5%1.mrg rbbssub5.mpl mpl5.WRN
  34. BLED /B/L RCHAT300.bas RCHAT300.mrg rchat300.mpl chat.WRN
  35. BLED /B/L ANSIED.bas Ansied.mrg ansied.mpl Ansied.WRN
  36. BLED /B/L CONFIG.bas MCfg%1.mrg Config.mpl CONF.WRN
  37. BLED /B/L CNFG-SUB.BAS MCSB%1.mrg Cnfg-sub.mpl CONF-SUB.WRN
  38.  
  39.  
  40. echo ^g
  41. echo .
  42. echo       remember to put in the new RBBS-VAR.* files
  43. echo .
  44. echo       if all files were merged successfully
  45. echo       then rename them with the *.BAS extension
  46.  
  47. GOTO END
  48.  
  49.  
  50. :NoBLED
  51. echo Missing BLED.EXE... Aborted.
  52. goto Stop
  53.  
  54.  
  55. :Usage
  56. echo Usage: UPGRADE xxxx
  57. echo .
  58. echo        where xxxx is the upgrade date
  59. echo        the end of the MRG filenames. 
  60. echo .
  61.  
  62. Goto Stop
  63.  
  64. :End
  65. cls
  66. echo       if the Merges were were succesfull ren the *.MPL files to 
  67. echo       *.BAS and recompile 
  68. echo .
  69. echo       Be Sure to update the RBBS-VAR.* files and any other
  70. echo        *.BAS files include with this Mrg
  71.  
  72.  
  73. :Stop
  74.